#include "ParamRep.h"

using namespace genericinterface;

ParamRep::ParamRep(ParameterRep parameter) {
    _parameter = parameter;
}


int ParamRep::getParamInt(int value){
    switch(value){
        case START : return _parameter.start;break;
        case OPERATION : return _parameter.operation;break;
        case VALROUND : return _parameter.choiceround;break;
        case END : return _parameter.end;break;
    }
}

double ParamRep::getParamDouble(int value){
    switch(value){
        case VALMIN : return _parameter.valmin;break;
        case VALMAX : return _parameter.valmax;break;
        case VALCENTER : return _parameter.valcenter;break;
        case VALBEFCENTER : return _parameter.valbefcenter;break;
        case CUTUP : return _parameter.cutup;break;
        case CUTDOWN : return _parameter.cutdown;break;
    }
}




